[fix](database) Fix rename db and create table race#55054
Merged
dataroaring merged 7 commits intoapache:masterfrom Aug 26, 2025
Merged
[fix](database) Fix rename db and create table race#55054dataroaring merged 7 commits intoapache:masterfrom
dataroaring merged 7 commits intoapache:masterfrom
Conversation
Contributor
|
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
c4d3eaa to
379816c
Compare
Contributor
Author
|
run buildall |
TPC-H: Total hot run time: 33907 ms |
TPC-DS: Total hot run time: 184134 ms |
ClickBench: Total hot run time: 31.97 s |
Contributor
Author
|
run buildall |
1 similar comment
Contributor
Author
|
run buildall |
TPC-H: Total hot run time: 33635 ms |
Contributor
FE UT Coverage ReportIncrement line coverage |
TPC-DS: Total hot run time: 184835 ms |
ClickBench: Total hot run time: 32.42 s |
3c5eca4 to
3aba765
Compare
Contributor
Author
|
run buildall |
3aba765 to
077c2cc
Compare
TPC-DS: Total hot run time: 185066 ms |
Contributor
FE UT Coverage ReportIncrement line coverage |
Contributor
|
PR approved by at least one committer and no changes requested. |
Contributor
|
PR approved by anyone and no changes requested. |
ClickBench: Total hot run time: 32.56 s |
deardeng
added a commit
to deardeng/incubator-doris
that referenced
this pull request
Sep 12, 2025
Add db lock to protect rename db editlog, and when writing create table editlog, check whether the db name has been modified. If the db name has been modified, the table creation statement will report an error.
deardeng
added a commit
to deardeng/incubator-doris
that referenced
this pull request
Sep 12, 2025
Add db lock to protect rename db editlog, and when writing create table editlog, check whether the db name has been modified. If the db name has been modified, the table creation statement will report an error.
deardeng
added a commit
to deardeng/incubator-doris
that referenced
this pull request
Sep 12, 2025
Add db lock to protect rename db editlog, and when writing create table editlog, check whether the db name has been modified. If the db name has been modified, the table creation statement will report an error.
dataroaring
pushed a commit
that referenced
this pull request
Sep 16, 2025
deardeng
added a commit
to deardeng/incubator-doris
that referenced
this pull request
Sep 18, 2025
Add db lock to protect rename db editlog, and when writing create table editlog, check whether the db name has been modified. If the db name has been modified, the table creation statement will report an error.
morrySnow
pushed a commit
that referenced
this pull request
Sep 19, 2025
Closed
yiguolei
pushed a commit
to yiguolei/incubator-doris
that referenced
this pull request
Dec 19, 2025
Add db lock to protect rename db editlog, and when writing create table editlog, check whether the db name has been modified. If the db name has been modified, the table creation statement will report an error.
yiguolei
added a commit
to yiguolei/incubator-doris
that referenced
this pull request
Dec 19, 2025
…pache#4981) pick from apache#55054 Add db lock to protect rename db editlog, and when writing create table editlog, check whether the db name has been modified. If the db name has been modified, the table creation statement will report an error. ## Proposed changes Issue Number: close #xxx <!--Describe your changes.-->
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What problem does this PR solve?
Add db lock to protect rename db editlog, and when writing create table editlog, check whether the db name has been modified. If the db name has been modified, the table creation statement will report an error.
Issue Number: close #xxx
Related PR: #xxx
Problem Summary:
Release note
None
Check List (For Author)
Test
Behavior changed:
Does this need documentation?
Check List (For Reviewer who merge this PR)